from flask import render_template


def errorResponse(errorMsg):
    """
    返回错误消息，并渲染错误页面
    :param errorMsg:
    :return:
    """
    return render_template("error.html", errorMsg=errorMsg)
